package com.slipper.sfts.api.member.service;

import com.slipper.common.bo.Result;
import com.slipper.common.feign.ServiceClient;
import com.slipper.common.annotation.FeignRequestMapping;
import com.slipper.sfts.api.member.bo.MemberBrokerAccountBO;

import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * 会员交易账号
 */
@ServiceClient
public interface IMemberBrokerAccountSv {
    @FeignRequestMapping("/memberBrokerAccount/queryBy")
    Result<MemberBrokerAccountBO> queryBy(@RequestBody String id);

    @FeignRequestMapping("/memberBrokerAccount/queryList")
    Result<List<MemberBrokerAccountBO>> queryList(@RequestBody MemberBrokerAccountBO bo);

    @FeignRequestMapping("/memberBrokerAccount/queryPage")
    Result<List<MemberBrokerAccountBO>> queryPage(@RequestBody MemberBrokerAccountBO bo);

    @FeignRequestMapping("/memberBrokerAccount/save")
    Result<?> save(@RequestBody MemberBrokerAccountBO bo);
    
    @FeignRequestMapping("/memberBrokerAccount/delete")
    Result<?> delete(@RequestBody MemberBrokerAccountBO bo);
}
